﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TsCore
{
    public class Notifications
    {
        private static Notifications instance = null;
        public Alert Alert { get; private set; }

        public static Notifications Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new Notifications();
                }
                return instance;
            }
        }
        
        private Notifications()
        {
            this.Alert = new EmailAlert();
        }
    }
}
